package edu.sctu.jarime.may.day20150511;

/**
 * Created by user19 on 2015/5/11.
 */
//父类写变量，构造函数，方法
public class TextOne {


    private int number;
    private String action;
    private String color;


    //
    //构造函数传参
    // 编号
    // 动作
    // 颜色/
    public TextOne(int number,String action,String color){

        this.action=action;
        this.color=color;
        this.number=number;

    }



    public String getaction(){

        return action;
    }


    public String getColor(){

        return color;
    }


    public int getNumber(){

        return number;
    }
}
